package com.yizisu.playerlibrary

import android.app.Application
import android.content.Context
import androidx.startup.Initializer

/**
 * 初始化Mvvm库
 */
class PlayerLibInit : Initializer<Application> {
    companion object {
        internal lateinit var app: Application
    }

    override fun create(context: Context): Application {
        app = context as Application
        return app
    }

    override fun dependencies(): MutableList<Class<out Initializer<*>>> {
        return mutableListOf()
    }
}